Home | Trees | Index | Help |
|
---|
Package lemon :: Package external :: Package Cheetah :: Package Tests :: Module SyntaxAndOutput :: Class CGI |
|
TestCase
--+ |OutputTest
--+ | CGI
CGI_MacEOL
,
CGI_Win32EOL
CGI scripts with(out) the CGI environment and with(out) GET variables.
Method Summary | |
---|---|
A regular template. | |
A CGI script. | |
A (pseudo) Webware servlet. | |
A CGI script with a GET variable. | |
_beginCGI(self)
| |
_endCGI(self)
| |
_guaranteeNoCGI(self)
| |
Inherited from OutputTest | |
| |
| |
| |
| |
| |
| |
| |
Inherited from TestCase | |
Create an instance of the class that will use the named test method when executed. | |
| |
| |
| |
Fail the test unless the expression is true. | |
Fail if the two objects are unequal as determined by the '!=' operator. | |
Fail if the two objects are unequal as determined by the '!=' operator. | |
Fail if the two objects are equal as determined by the '==' operator. | |
Fail if the two objects are equal as determined by the '==' operator. | |
Fail unless an exception of class excClass is thrown by callableObj when invoked with arguments args and keyword arguments kwargs. | |
| |
Run the test without collecting errors in a TestResult... | |
| |
Returns a one-line description of the test, or None if no description has been provided. | |
| |
Fail immediately, with the given message. | |
Fail the test if the expression is true. | |
Fail if the two objects are equal as determined by the '==' operator. | |
Fail the test unless the expression is true. | |
Fail if the two objects are unequal as determined by the '!=' operator. | |
Fail unless an exception of class excClass is thrown by callableObj when invoked with arguments args and keyword arguments kwargs. | |
| |
| |
| |
| |
| |
Hook method for setting up the test fixture before exercising it. | |
Returns a one-line description of the test, or None if no description has been provided. | |
Hook method for deconstructing the test fixture after testing it. | |
Setup the default meta data for the test case:... | |
|
Class Variable Summary | |
---|---|
Inherited from OutputTest | |
bool |
convertEOLs = True
|
int |
DEBUGLEV = 0 |
str |
report = '\nTemplate output mismatch: %(notes)s \n\n ...
|
list |
_searchList = [{'strip1': ' \t strippable whitespace ...
|
dict |
_templateSettings = {}
|
Inherited from TestCase | |
NoneType |
name = None |
Method Details |
---|
test1(self)A regular template. |
test2(self)A CGI script. |
test3(self)A (pseudo) Webware servlet. This uses the Python syntax escape to set self.isControlledByWebKit. We could instead do '#silent self.isControlledByWebKit = True', taking advantage of the fact that it will compile unchanged as long as there's no '$' in the statement. (It won't compile with an '$' because that would convert to a function call, and you can't assign to a function call.) Because this isn't really being called from Webware, we'd better not use any Webware services! Likewise, we'd better not call $cgiImport() because it would be misled. |
test4(self)A CGI script with a GET variable. |
Home | Trees | Index | Help |
|
---|
Generated by Epydoc 2.0 on Mon Nov 10 15:07:44 2003 | http://epydoc.sf.net |